
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="user">

    </div>
    <script src="./jquery-3.7.1.js"></script>
</body>
    <script>
        var userlist= JSON.parse(localStorage.getItem("userlist"))
        console.log(userlist);
        var obj="";
        obj=`
            <div>邮箱${userlist.data.email}</div>
            <div>身份证号${userlist.data.idCode}</div>
            <div>用户名${userlist.data.username}</div>
            <div>密码${userlist.data.password}</div>
            <div>手机号${userlist.data.phone}</div>
            `
    $("#user").append(obj)
    </script>
</html>